package cm.cool.web.data;

import java.util.Date;

import org.apache.ibatis.annotations.Mapper;

import cm.cool.web.bean.UserDto;

@Mapper
public interface UserMapper {
	
    int deleteByPrimaryKey(Long id);

    int insert(UserDto record);

    int insertSelective(UserDto record);

    UserDto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserDto record);

    int updateByPrimaryKey(UserDto record);

    // 查询今日总访客
	int getLastTime(Date lastTime);
}